package com.yunyike.mapper;

import java.util.List;

import com.yunyike.model.Promotion;

public interface PromotionMapper {
    int deleteByPrimaryKey(String promotionId);

    int insert(Promotion record);

    int insertSelective(Promotion record);

    Promotion selectByPrimaryKey(String promotionId);

    int updateByPrimaryKeySelective(Promotion record);

    int updateByPrimaryKey(Promotion record);
    
    List<Promotion> selectByPromotionIds(List<String> promotionIds);

    List<Promotion> selectAvailabelByPromotionIds(List<String> promotionIds);
}